package com.chnbst.bstyun.model.pojo.extend;

/**
 * 注册实体对象
 * 
 * @author yeabow
 */
public class UserRegister {

	private Integer uid;
	/**
	 * IM帐号
	 */
	private String loginNumber;

	/**
	 * IM别名
	 */
	private String loginName;

	/**
	 * 随即分配IM帐号
	 */
	private Boolean random = true;

	/**
	 * 密码
	 */
	private String password;

	/**
	 * 对密码进行加密
	 */
	private boolean md5 = true;

	/**
	 * 注册时间
	 */
	private long registeredTime = System.currentTimeMillis();

	/**
	 * 邮箱
	 */
	private String email;

	/**
	 * 允许邮箱登陆
	 */
	private boolean allowEmailLogin;

	/**
	 * 手机号
	 */
	private String mobile;

	/**
	 * 允许手机号登陆
	 */
	private boolean allowMobileLogin;

	/**
	 * 昵称
	 */
	private String displayName;

	/**
	 * 年龄
	 */
	private Integer age = 18;

	/**
	 * 生日
	 */
	private String birthday = "2011-01-01";

	/**
	 * 性别
	 */
	private Integer sex = 1;

	/**
	 * 等级
	 */
	private Integer grade = 0;

	/**
	 * 部门编号
	 */
	private Integer branchId;

	/**
	 * 国家
	 */
	private String country;

	/**
	 * 省份
	 */
	private String province;

	/**
	 * 区、市
	 */
	private String district;

	/**
	 * 市、县
	 */
	private String city;
	
	private String duty;

	private String englishName;
	//用户禁启用设置(默认值为true)
	private boolean enable;
	
	
	public boolean isEnable() {
		return enable;
	}

	public void setEnable(boolean enable) {
		this.enable = enable;
	}

	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public String getEnglishName() {
		return englishName;
	}

	public void setEnglishName(String englishName) {
		this.englishName = englishName;
	}

	public String getDuty() {
		return duty;
	}

	public void setDuty(String duty) {
		this.duty = duty;
	}

	public boolean isMd5() {
		return md5;
	}

	public void setMd5(boolean md5) {
		this.md5 = md5;
	}

	public String getLoginNumber() {
		return loginNumber;
	}

	public void setLoginNumber(String loginNumber) {
		this.loginNumber = loginNumber;
	}

	public Boolean getRandom() {
		return random;
	}

	public void setRandom(Boolean random) {
		this.random = random;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public long getRegisteredTime() {
		return registeredTime;
	}

	public void setRegisteredTime(long registeredTime) {
		this.registeredTime = registeredTime;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getDisplayName() {
		return displayName;
	}

	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public Integer getGrade() {
		return grade;
	}

	public void setGrade(Integer grade) {
		this.grade = grade;
	}

	public Integer getBranchId() {
		return branchId;
	}

	public void setBranchId(Integer branchId) {
		this.branchId = branchId;
	}

	public boolean isAllowEmailLogin() {
		return allowEmailLogin;
	}

	public void setAllowEmailLogin(boolean allowEmailLogin) {
		this.allowEmailLogin = allowEmailLogin;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public boolean isAllowMobileLogin() {
		return allowMobileLogin;
	}

	public void setAllowMobileLogin(boolean allowMobileLogin) {
		this.allowMobileLogin = allowMobileLogin;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getDistrict() {
		return district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}
}
